<%= form_for(@requests_complaints_request) do |f| %>
  <% if @requests_complaints_request.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@requests_complaints_request.errors.count, "error") %> prohibited this requests_complaints_request from being saved:</h2>

      <ul>
      <% @requests_complaints_request.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :lastname %><br />
    <%= f.text_field :lastname %>
  </div>
  <div class="field">
    <%= f.label :email %><br />
    <%= f.text_field :email %>
  </div>
  <div class="field">
    <%= f.label :phone %><br />
    <%= f.text_field :phone %>
  </div>
  <div class="field">
    <%= f.label :briefDescription %><br />
    <%= f.text_area :briefDescription %>
  </div>
  <div class="field">
    <%= f.label :longDescription %><br />
    <%= f.text_area :longDescription %>
  </div>
  <div class="field">
    <%= f.label :photo %><br />
    <%= f.text_field :photo %>
  </div>
  <div class="field">
    <%= f.label :requestDate %><br />
    <%= f.datetime_select :requestDate %>
  </div>
  <div class="field">
    <%= f.label :state %><br />
    <%= f.text_field :state %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
